import Home from '@pages/home'

import NoAuth from '@pages/NoAuth'
import NotFound from '@pages/NotFound'

export const homePath = '/home'
export const notFoundPath = '/404'
export const routeList = [
  {
    path: '/home',
    component: Home,
  },
  {
    path: '/list', // 示例
    component: Home,
    // isLayout: true, // 是否为布局组件（children中组件为该组件的子组件）
    children: [
      {
        path: '/:id',
        component: Home,
      },
    ],
  },
  {
    path: '/no-auth',
    component: NoAuth,
  },
  {
    path: '/404',
    component: NotFound,
  },
]
